//
//  Departure.h
//  TrainTrack
//
//  Created by Philip Bruce on 4/10/08.
//  Copyright 2008 Den Falske Zebra. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface Departure : NSObject {
	NSString *station;
	NSString *line;
	NSString *direction;
	int minute;
	int earliest_departure;
	int latest_departure;
	int weekday;
	int valid_at_time;
	
}

@property(copy) NSString *station;
@property(copy) NSString *line;
@property(copy) NSString *direction;
@property(assign) int minute;
@property(assign) int earliest_departure;
@property(assign) int latest_departure;	
@property(assign) int weekday;	
@property(assign) int valid_at_time;
		  
// methods
-(Departure *)initByCloning:(Departure *)dep;
-(BOOL)isValidForHour:(int)hour;

@end
